import request from '@/utils/request'
const path = "/api/pay"

/* 获取列表
@param 条件查询
*/
export function findRecordIncomesList(params) {
    return request({
        url: path + '/recordIncomes/',
        method: 'get',
        params
    })
}


/* 获取信息接口
@param recordIncomesId Y
*/
export function getRecordIncomesbyId(data) {
    return request({
      url: path + '/recordIncomes/getItemById/',
      method: 'post',
      data
    })
  }

  // 用户确认提现
  export function confirmOutMoney(data) {
    return request({
      url: path + '/recordIncomes/confirmOutMoney/',
      method: 'post',
      data
    })
  }

  // 提现拒绝
  export function refuseOutMoney(data) {
    return request({
      url: path + '/recordIncomes/refuseOutMoney/',
      method: 'post',
      data
    })
  }